﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(Orders))]
    [ProtoContract]
    public class OrdersDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public String order_no { get; set; }

        [ProtoMember(3)]
        public String trade_no { get; set; }

        [ProtoMember(4)]
        public int user_id { get; set; }

        [ProtoMember(5)]
        public String user_name { get; set; }

        [ProtoMember(6)]
        public int payment_id { get; set; }

        [ProtoMember(7)]
        public Decimal payment_fee { get; set; }


        [ProtoMember(8)]
        public int payment_status { get; set; }


        [ProtoMember(9)]
        public DateTime? payment_time { get; set; }


        [ProtoMember(10)]
        public int express_id { get; set; }

        [ProtoMember(11)]
        public Decimal express_fee { get; set; }

        [ProtoMember(12)]
        public String express_no { get; set; }


        [ProtoMember(13)]
        public String express_com { get; set; }


        [ProtoMember(14)]
        public String express_code { get; set; }


        [ProtoMember(15)]
        public int express_status { get; set; }

        [ProtoMember(16)]
        public DateTime? express_time { get; set; }


        [ProtoMember(17)]
        public String accept_name { get; set; }


        [ProtoMember(18)]
        public String post_code { get; set; }


        [ProtoMember(19)]
        public String telphone { get; set; }


        [ProtoMember(20)]
        public String mobile { get; set; }


        [ProtoMember(21)]
        public String email { get; set; }

        [ProtoMember(22)]
        public String province { get; set; }


        [ProtoMember(23)]
        public String city { get; set; }


        [ProtoMember(24)]
        public String area { get; set; }


        [ProtoMember(25)]
        public String address { get; set; }


        [ProtoMember(26)]
        public String message { get; set; }


        [ProtoMember(27)]
        public String remark { get; set; }


        [ProtoMember(28)]
        public int is_invoice { get; set; }


        [ProtoMember(29)]
        public String invoice_title { get; set; }


        [ProtoMember(30)]
        public Decimal invoice_taxes { get; set; }


        [ProtoMember(31)]
        public Decimal payable_amount { get; set; }


        [ProtoMember(32)]
        public Decimal real_amount { get; set; }


        [ProtoMember(33)]
        public Decimal order_amount { get; set; }


        [ProtoMember(34)]
        public Decimal point { get; set; }


        [ProtoMember(35)]
        public int status { get; set; }


        [ProtoMember(36)]
        public DateTime add_time { get; set; }


        [ProtoMember(37)]
        public DateTime? confirm_time { get; set; }


        [ProtoMember(38)]
        public DateTime? complete_time { get; set; }


        [ProtoMember(39)]
        public Decimal sales_amount { get; set; }


        [ProtoMember(40)]
        public string is_show { get; set; }


        [ProtoMember(41)]
        public int ordertype { get; set; }


        [ProtoMember(42)]
        public decimal sell_point { get; set; }

        [ProtoMember(43)]
        public decimal max_dkpoint { get; set; }


        [ProtoMember(44)]
        public decimal max_zspoint { get; set; }


        [ProtoMember(45)]
        public Decimal PV { get; set; }


        [ProtoMember(46)]
        public string serviceid { get; set; }


        [ProtoMember(47)]
        public int product_id { get; set; }


        [ProtoMember(48)]
        public int quantity { get; set; }


        [ProtoMember(49)]
        public string title { get; set; }


        [ProtoMember(50)]
        public int shopid { get; set; }


        [ProtoMember(51)]
        public int isjiesuan { get; set; }


        [ProtoMember(52)]
        public Decimal hongbao { get; set; }


        [ProtoMember(53)]
        public decimal score { get; set; }


        [ProtoMember(54)]
        public Decimal hongbao_first { get; set; }

        [ProtoMember(55)]
        public Decimal score_first { get; set; }

        [ProtoMember(56)]
        public int ismerch { get; set; }

        [ProtoMember(57)]
        public int merchid { get; set; }


        [ProtoMember(58)]
        public int parentid { get; set; }


        [ProtoMember(59)]
        public int isparent { get; set; }


        [ProtoMember(60)]
        public int merchshow { get; set; }


        [ProtoMember(61)]
        public int channel_id { get; set; }

        [ProtoMember(62)]
        public IList<OrderItemDto> OrderItemList { get; set; }
    }
}
